package com.learn.project2.model.vo.wx.goods;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * \* Author: Valley
 * \* Date: 2022/1/12
 * \* Time: 10:56
 * \* Description:
 */

@Data
@NoArgsConstructor
public class GoodsTest {


    /**
     * total : 1
     * pages : 1
     * limit : 20
     * page : 1
     * list : [{"id":1181046,"name":"测试V","brief":"商品简介","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/cjpyk4050j13zvmvrg7x.jpg","isNew":true,"isHot":false,"counterPrice":11,"retailPrice":100}]
     * filterCategoryList : [{"id":1010000,"name":"服装","keywords":"3324","desc":"贴身的，要亲肤","pid":1011000,"iconUrl":"http://yanxuan.nosdn.127.net/28a685c96f91584e7e4876f1397767db.png","picUrl":"http://yanxuan.nosdn.127.net/622c8d79292154017b0cbda97588a0d7.png","level":"L2","sortOrder":5,"addTime":"2018-02-01 00:00:00","updateTime":"2022-01-08 22:45:10","deleted":false}]
     */

    private int total;
    private int pages;
    private int limit;
    private int page;
    private List<ListBean> list;
    private List<FilterCategoryListBean> filterCategoryList;

    @NoArgsConstructor
    @Data
    public static class ListBean {
        /**
         * id : 1181046
         * name : 测试V
         * brief : 商品简介
         * picUrl : http://182.92.235.201:8083/wx/storage/fetch/cjpyk4050j13zvmvrg7x.jpg
         * isNew : true
         * isHot : false
         * counterPrice : 11
         * retailPrice : 100
         */

        private int id;
        private String name;
        private String brief;
        private String picUrl;
        private boolean isNew;
        private boolean isHot;
        private int counterPrice;
        private int retailPrice;
    }

    @NoArgsConstructor
    @Data
    public static class FilterCategoryListBean {
        /**
         * id : 1010000
         * name : 服装
         * keywords : 3324
         * desc : 贴身的，要亲肤
         * pid : 1011000
         * iconUrl : http://yanxuan.nosdn.127.net/28a685c96f91584e7e4876f1397767db.png
         * picUrl : http://yanxuan.nosdn.127.net/622c8d79292154017b0cbda97588a0d7.png
         * level : L2
         * sortOrder : 5
         * addTime : 2018-02-01 00:00:00
         * updateTime : 2022-01-08 22:45:10
         * deleted : false
         */

        private int id;
        private String name;
        private String keywords;
        private String desc;
        private int pid;
        private String iconUrl;
        private String picUrl;
        private String level;
        private int sortOrder;
        private String addTime;
        private String updateTime;
        private boolean deleted;
    }
}
